/*
 * Copyright (c) 2020 Fraunhofer FOKUS and others. All rights reserved.
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contact: mosaic@fokus.fraunhofer.de
 */

package org.eclipse.mosaic.fed.mqtt.config;

/**
 * Class define a Mqtt-client. Will be parsed against
 * JSON-configuration.
 */
public class CMqtt {

    private String host;

    private int port;

    private String username;

    private String password;

    /**
     * set callback
     */
    private String callback;


    // Topic configuration
    /**
     * configuration of topic: ["vehicle_move"]
     * list parameter of vehicle initializing needing
     */
    private CVehicleAdd vehicleMove;


    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCallback() {
        return callback;
    }

    public void setCallback(String callback) {
        this.callback = callback;
    }

    public CVehicleAdd getVehicleMove() {
        return vehicleMove;
    }

    public void setVehicleMove(CVehicleAdd vehicleMove) {
        this.vehicleMove = vehicleMove;
    }
}
